]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
padOsd: Drop needless call
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 29 May 2020 13:59:32 +0000 (15:59 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 29 May 2020 18:06:48 +0000 (18:06 +0000)
If we got this far, we are dealing with an already known label.
There's no need for this check.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1290

js/ui/padOsd.js

index 8f84effd55cca3e6e1f6b31e12b4b682b9eec596..32b0584dda6fd3a73becd483caf43737e17d8511 100644 (file)
@@ -639,9 +639,6 @@ var PadDiagram = GObject.registerClass({
 
         if (this._curEdited == null)
             return;
-        let [found] = this._getLabelCoords(action, idx, dir);
-        if (!found)
-            return;
         this._editorActor.show();
         editedLabel.hide();
     }